package com.oba.base.service;

import javax.swing.tree.DefaultMutableTreeNode;

import com.icesoft.faces.component.tree.IceUserObject;

public class TreeUserObj<T> extends IceUserObject {

	private T bo;
	
	public T getBo() {
		return bo;
	}

	public void setBo(T bo) {
		this.bo = bo;
	}

	public TreeUserObj(DefaultMutableTreeNode wrapper) {
		super(wrapper);
		setLeafIcon("tree_document.gif");
        setBranchContractedIcon("tree_folder_closed.gif");
        setBranchExpandedIcon("tree_folder_open.gif");
        setExpanded(true);
	}

}
